<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<title>高校基本信息</title>
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" href="__PUBLIC__/Teachers/css/reset.css">
<link rel="stylesheet" href="__PUBLIC__/Teachers/css/admin.css">

</head>
<body>
	<input type="hidden" id="tab_type" value="{$type}"/>
	<input type="hidden" name="school_id" value="{$school_id}"/>
	<div class="content" id="content-picture">
		<div class="tab-menu">
			<ul>
				<li class="actived"><a href="#">校园景色</a></li>
				<li><a href="#">生活配套</a></li>
				<li><a href="#">教学设施</a></li>
				<li><a href="#">360全景</a></li>
			</ul>
		</div>
		<div class="tab-content">
			<div class="biaoge tab-item actived">
				<div class="btn-box">
					<a href="javascript:;" class="btn-modal" id="btn-upload-img">上传图片</a>
				</div>
				<div class="album-list clearfix">
				<volist name="imgdata" id="vo">
					<eq name="vo.img_type" value="1">
					<div class="album">
							<form action="__URL__/deleteimg" method="post" name="">
							<input type="hidden" name="img_id" value="{$vo.img_id}"/>
							<input type="hidden" name="img_type" value="1"/>
							<input type="hidden" name="school_id" value="{$school_id}"/>
							</form>
							<img src="__PUBLIC__/{$vo.img_small_url}" alt="{$vo.img_description}">
							<p>{$vo.img_description}<span>上传时间  {$vo.upload_time|date="Y-m-d",###}</span></p>
							<div class="album-edtior">
								编辑中
								<a href="javascript:;" class="btn-rename"></a>
								<a href="javascript:;" class="btn-delete"></a>
							</div>
					</div>
					</eq>
				</volist>
				</div>
				
				<div class="album-list clearfix">
				<volist name="imgdata" id="vo">
					<eq name="vo.img_type" value="2">
					<div class="album">
					<form action="__URL__/deleteimg" method="post" name="">
					<input type="hidden" name="img_id" value="{$vo.img_id}"/>
					<input type="hidden" name="img_type" value="2"/>
					<input type="hidden" name="school_id" value="{$school_id}"/>
					</form>
							<img src="__PUBLIC__/{$vo.img_small_url}" alt="{$vo.img_description}">
							<p>{$vo.img_description}<span>上传时间  {$vo.upload_time|date="Y-m-d",###}</span></p>
							<div class="album-edtior">
								编辑中
								<a href="javascript:;" class="btn-rename"></a>
								<a href="javascript:;" class="btn-delete"></a>
							</div>
					</div>
					</eq>
				</volist>
				</div>
				
				<div class="album-list clearfix">
				<volist name="imgdata" id="vo">
					<eq name="vo.img_type" value="3">
					<div class="album">
					<form action="__URL__/deleteimg" method="post" name="">
						<input type="hidden" name="img_id" value="{$vo.img_id}"/>
						<input type="hidden" name="img_type" value="3"/>
						<input type="hidden" name="school_id" value="{$school_id}"/>
						</form>
							<img src="__PUBLIC__/{$vo.img_small_url}" alt="{$vo.img_description}">
							<p>{$vo.img_description}<span>上传时间  {$vo.upload_time|date="Y-m-d",###}</span></p>
							<div class="album-edtior">
								编辑中
								<a href="javascript:;" class="btn-rename"></a>
								<a href="javascript:;" class="btn-delete"></a>
							</div>
					</div>
					</eq>
				</volist>
				</div>
				
				<div class="album-list clearfix">
				<volist name="imgdata" id="vo">
					<eq name="vo.img_type" value="4">
					<div class="album">
						<form action="__URL__/deleteimg" method="post" name="">
						<input type="hidden" name="img_id" value="{$vo.img_id}"/>
						<input type="hidden" name="img_type" value="4"/>
						<input type="hidden" name="school_id" value="{$school_id}"/>
						</form>
						<img src="__PUBLIC__/{$vo.img_small_url}" alt="{$vo.img_description}">
						<p>{$vo.img_description}<span>上传时间  {$vo.upload_time|date="Y-m-d",###}</span></p>
						<div class="album-edtior">
							编辑中
							<a href="javascript:;" class="btn-rename"></a>
							<a href="javascript:;" class="btn-delete"></a>
						</div>
					</div>
					</eq>
				</volist>
				</div>
			</div>
		</div>
	</div>
		
    <div id="modal">
    	<div class="modal-overlay"></div>
    	<div class="modal-box" id="modal-picture">
		    <article class="add">
		    	<form action="__URL__/addimg" method="post" name="" id="form-add"  enctype="multipart/form-data">
		    	<input type="hidden" name="img_type" value="1"/>
		    	<input type="hidden" name="img_id" value=""/>
		    	<input type="hidden" name="school_id" value="{$school_id}"/>
		    	<h2>上传图片</h2>
		    	<div class="addlay">
		            <div class="formitm img-upload">
		                <div class="input-file-box">
                    		<div class="input-file">
                    			选择图片
                    		</div>
							<input type="file" name="img_url"/>
                    	</div>
                    	<div class="img-upload-view">
                    		<img src="__PUBLIC__/Teachers/images/default_school_img.jpg" alt="">
                    	</div>
		            </div>
		        	<div class="formitm">
		            	<h3>描述
		            		<!-- <span class="f14">（可不填）</span> -->
		            	</h3>
		                <div class="descrip">
		                	<textarea name="img_description"></textarea>
		                </div>
		            </div>
		            <div class="formitm clearfix">   
		                <div class="lybtns">
		                	<input type="submit" value="上传" class="u-btn btn-yes">
                            <button type="button" class="u-btn btn-cancel">取消</button>
		                </div>
		            </div>
		        </div>
		        </form>
		    </article>
		</div>
    </div>
    <!-- js文件 -->
    <script src="__PUBLIC__/Teachers/js/jquery-1.11.1.min.js"></script>
	<script src="__PUBLIC__/Teachers/js/admin.js"></script>
	<script>
		moduleAblum();
	</script>
</body>
</html>